
//  ;   ·   ϐ   ϲ
// "Greek Question Mark" ;
// "Single Dot Colon" ·
// "Beta Symbol / Medial Beta" ϐ
// "Lunate Sigma" ϲ


// "Straight Apostrophe" '
// "Apostrophe" ’
// "space" 
 
//
//                               1  2  3  4  5  6  7  8   9
//                               1  2  4  8 10 20 40 80 100
//                               `  ´  ‛  ’  ~  ¨   ͅ  ˘   ¯
//  01 grave ( ` )               1  |  |  |  |  |  |  |   |
//  02 acute ( ´ tonos )         0  2  |  |  |  |  |  |   |
//  04 rough breathing ( ‛ )     0  0  4  |  |  |  |  |   |
//  08 smooth breathing ( ’ )    0  0  0  8  |  |  |  |   |
//  10 circumflex ( ˆ~ )         0  0  0  0 10  |  |  |   |
//  20 dialytika/diaeresis ( ¨ ) 0  0  0  0  0 20  |  |   |
//  40 subscript (  ͅ )           0  0  0  0  0  0 40  |   |
//  80 breve( ˘ )                0  0  0  0  0  0  0 80   |
// 100 macron( ¯ )               0  0  0  0  0  0  0  0 100


var chars = {
"α":{"id":"α", "name":"alpha",
  "lc":{0x00:"α", 0x01:"ὰ", 0x02:"ά", 0x04:"ἁ", 0x05:"ἃ",
        0x06:"ἅ", 0x08:"ἀ", 0x09:"ἂ", 0x0a:"ἄ", 0x10:"ᾶ",
        0x14:"ἇ", 0x18:"ἆ", 0x40:"ᾳ", 0x41:"ᾲ", 0x42:"ᾴ",
        0x44:"ᾁ", 0x45:"ᾃ", 0x46:"ᾅ", 0x48:"ᾀ", 0x49:"ᾂ",
        0x4a:"ᾄ", 0x50:"ᾷ", 0x54:"ᾇ", 0x58:"ᾆ", 0x80:"ᾰ",
        0x100:"ᾱ"},
  "uc":{0x00:"q", 0x01:"Ὰ", 0x02:"Ά", 0x04:"Ἁ", 0x05:"Ἃ",
        0x06:"Ἅ", 0x08:"Ἀ", 0x09:"Ἂ",           0x0A:"Ἄ",
        0x14:"Ἇ", 0x18:"Ἆ", 0x40:"ᾼ",
        0x44:"ᾉ", 0x45:"ᾋ", 0x46:"ᾍ", 0x48:"ᾈ", 0x49:"ᾊ",
        0x4A:"ᾌ",           0x54:"ᾏ", 0x58:"ᾎ", 0x80:"Ᾰ",
        0x100:"Ᾱ"}
},


"β":{"id":"β", "name":"alpha",
 "lc":{0x00:"β"}, 
 "uc":{0x00:"Β"}}, 

"γ":{"id":"γ", "name":"gamma",
 "lc":{0x00:"γ"}, 
 "uc":{0x00:"Γ"}}, 

"δ":{"id":"δ", "name":"delta",
 "lc":{0x00:"δ"}, 
 "uc":{0x00:"Δ"}}, 

"ε":{"id":"ε", "name":"epsilon",
 "lc":{0x00:"ε", 0x01:"ὲ", 0x02:"έ", 0x04:"ἑ", 0x05:"ἓ", 0x06:"ἕ",
       0x08:"ἐ", 0x09:"ἒ", 0x0a:"ἔ"},
 "uc":{0x00:"Ε", 0x01:"Ὲ", 0x02:"Έ", 0x04:"Ἑ", 0x05:"Ἓ", 0x06:"Ἕ",
       0x08:"Ἐ", 0x09:"Ἒ", 0X0A:"Ἔ"}
},
 
"ζ":{"id":"ζ", "name":"zeta",
 "lc":{0x00:"ζ"}, 
 "uc":{0x00:"Ζ"}}, 

"η":{"id":"η", "name":"eta",
  "lc":{0x00:"η", 0x01:"ὴ", 0x02:"ή", 0x04:"ἡ", 0x05:"ἣ",
        0x06:"ἥ", 0x08:"ἠ", 0x09:"ἢ", 0x0a:"ἤ", 0x10:"ῆ",
        0x14:"ἧ", 0x18:"ἦ", 0x40:"ῃ", 0x41:"ῂ", 0x42:"ῄ",
        0x44:"ᾑ", 0x45:"ᾓ", 0x46:"ᾕ", 0x48:"ᾐ", 0x49:"ᾒ",
        0x4a:"ᾔ", 0x50:"ῇ", 0x54:"ᾗ", 0x58:"ᾖ"},
  "uc":{0x00:"Η", 0x01:"Ὴ", 0x02:"Ή", 0x04:"Ἡ", 0x05:"Ἣ",
        0x06:"Ἥ", 0x08:"Ἠ", 0x09:"Ἢ", 0x0a:"Ἤ",
        0x14:"Ἧ", 0x18:"Ἦ", 0x40:"ῌ",
        0x44:"ᾙ", 0x45:"ᾛ", 0x46:"ᾝ", 0x48:"ᾘ", 0x49:"ᾚ",
        0x4a:"ᾜ",           0x54:"ᾟ", 0x58:"ᾞ"}
},


"θ":{"id":"θ", "name":"theta",
 "lc":{0x00:"θ"}, 
 "uc":{0x00:"Θ"}}, 

"ι":{"id":"ι", "name":"iota",
 "lc":{0x00:"ι", 0x01:"ὶ", 0x02:"ί", 0x04:"ἱ", 0x05:"ἳ",
       0x09:"ἲ", 0x0a:"ἴ", 0x10:"ῖ", 0x14:"ἷ", 0x18:"ἶ",
       0x20:"ϊ", 0x21:"ῒ", 0x22:"ΐ", 0x30:"ῗ", 0x80:"ῐ",
       0x100:"ῑ"},
 "uc":{0x00:"Ι", 0x01:"Ὶ", 0x02:"Ί", 0x04:"Ἱ", 0x05:"Ἳ",
       0x09:"Ἲ", 0x0a:"Ἴ",           0x14:"Ἷ", 0x18:"Ἶ",
       0x20:"Ϊ",                               0x80:"Ῐ", 
       0x100:"Ῑ"}
},

"κ":{"id":"κ", "name":"kappa",
 "lc":{0x00:"κ"}, 
 "uc":{0x00:"Κ"}}, 

"λ":{"id":"λ", "name":"lambda",
 "lc":{0x00:"λ"}, 
 "uc":{0x00:"Λ"}}, 

"μ":{"id":"μ", "name":"mu",
 "lc":{0x00:"μ"}, 
 "uc":{0x00:"Μ"}}, 

"ν":{"id":"ν", "name":"nu",
 "lc":{0x00:"ν"}, 
 "uc":{0x00:"Ν"}}, 

"ξ":{"id":"ξ", "name":"chi",
 "lc":{0x00:"ξ"}, 
 "uc":{0x00:"Ξ"}}, 

"ο":{"id":"ο", "name":"omicron",
 "lc":{0x01:"ὸ", 0x02:"ό", 0x04:"ὁ", 0x05:"ὃ", 0x06:"ὅ", 0x08:"ὀ",
       0x09:"ὂ", 0x0a:"ὄ"},
 "uc":{0x01:"Ὸ", 0x02:"Ό", 0x04:"Ὁ", 0x05:"Ὃ", 0x06:"Ὅ", 0x08:"Ὀ",
       0x09:"Ὂ", 0x0A:"Ὄ"}      
},

"π":{"id":"π", "name":"pi",
 "lc":{0x00:"π"}, 
 "uc":{0x00:"Π"}}, 

"ρ":{"id":"ρ", "name":"rho",
 "lc":{0x00:"ρ", 0x08:"ῤ"}, 
 "uc":{0x00:"Ρ"}}, 

"σ":{"id":"σ", "name":"sigma",
 "lc":{0x00:"σ"}, 
 "uc":{0x00:"Σ"}}, 

"ς":{"id":"ς", "name":"stigma",
 "lc":{0x00:"ς"}, 
 "uc":{0x00:"Ϛ"}}, 

"τ":{"id":"τ", "name":"tau",
 "lc":{0x00:"τ"}, 
 "uc":{0x00:"Τ"}}, 


"υ":{"id":"υ", "name":"upsilon",
 "lc":{0x01:"ὺ", 0x02:"ύ", 0x04:"ὑ", 0x05:"ὓ", 0x06:"ὕ", 0x08:"ὐ",
       0x09:"ὒ", 0x0a:"ὔ", 0x10:"ῦ", 0x14:"ὗ", 0x18:"ὖ", 0x20:"ϋ",
       0x21:"ῢ", 0x22:"ΰ", 0x30:"ῧ", 0x80:"ῠ", 0x100:"ῡ"},
 "uc":{0x01:"Ὺ", 0x02:"Ύ", 0x04:"Ὑ", 0x05:"Ὓ", 0x06:"Ὕ", 0x08:"ὐ",
       0x09:"ὒ", 0x0A:"ὔ",           0x14:"Ὗ",           0x20:"Ϋ",
                                     0x80:"Ῠ", 0x100:"Ῡ"}
}, 

"φ":{"id":"φ", "name":"phi",
 "lc":{0x00:"φ"}, 
 "uc":{0x00:"Φ"}}, 

"χ":{"id":"χ", "name":"xi",
 "lc":{0x00:"χ"}, 
 "uc":{0x00:"Χ"}}, 

"ψ":{"id":"ψ", "name":"psi",
 "lc":{0x00:"ψ"}, 
 "uc":{0x00:"Ψ"}}, 

"ω":{"id":"ω", "name":"omega",
 "lc":{0x01:"ὼ", 0x02:"ώ", 0x04:"ὡ", 0x05:"ὣ", 0x06:"ὥ", 0x08:"ὠ",
       0x09:"ὢ", 0x0a:"ὤ", 0x10:"ῶ", 0x14:"ὧ", 0x18:"ὦ", 0x40:"ῳ",
       0x41:"ῲ", 0x42:"ῴ", 0x44:"ᾡ", 0x45:"ᾣ", 0x46:"ᾥ", 0x48:"ᾠ",
       0x49:"ᾢ", 0x4a:"ᾤ", 0x50:"ῷ", 0x54:"ᾧ", 0x58:"ᾦ"},
 "uc":{0x01:"Ὼ", 0x02:"Ώ", 0x04:"Ὡ", 0x05:"Ὣ", 0x06:"Ὥ", 0x08:"Ὠ",
       0x09:"Ὢ", 0x0a:"Ὤ",           0x14:"Ὧ", 0x18:"Ὦ", 0x40:"ῼ",                    
                           0x44:"ᾩ", 0x45:"ᾫ", 0x46:"ᾭ", 0x48:"ᾨ",
       0x49:"ᾪ", 0x4a:"ᾬ",           0x54:"ᾯ", 0x58:"ᾮ"}
}, 

"ϝ":{"id":"ϝ", "name":"digamma",
 "lc":{0x00:"ϝ"}, 
 "uc":{0x00:"Ϝ"}}, 

"Ϟ":{"id":"Ϟ", "name":"koppa",
 "lc":{0x00:"Ϟ"}, 
 "uc":{0x00:"ϟ"}}, 

"Ϡ":{"id":"Ϡ", "name":"sampi",
 "lc":{0x00:"Ϡ"}, 
 "uc":{0x00:"ϡ"}}
};



// | - | ~ | ¨ | ´ |
// | ` | ‛ | ’ | ´ |
// |   |   |  ͅ |   |


//                          1 2 4 8 10 20 40 80 
//                          ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//"Grave (Varia)"  0x01:"ὰ" 0 1 0 0  0  0  0  0        (01)
//"Grave (Varia)"  0x41:"ᾲ" 0 1 0 0  0  0  0  1        (41)
//"Grave (Varia)"  0x01:"ὲ" 0 1 0 0  0  0  0  0        (01)
//"Grave (Varia)"  0x01:"ὴ" 0 1 0 0  0  0  0  0        (01)
//"Grave (Varia)"  0x41:"ῂ" 0 1 0 0  0  0  0  1        (41)
//"Grave (Varia)"  0x01:"ὶ" 0 1 0 0  0  0  0  0        (01)
//"Grave (Varia)"  0x01:"ὸ" 0 1 0 0  0  0  0  0        (01)
//"Grave (Varia)"  0x01:"ὺ" 0 1 0 0  0  0  0  0        (01)
//"Grave (Varia)"  0x01:"ὼ" 0 1 0 0  0  0  0  0        (01)
//"Grave (Varia)"  0x41:"ῲ" 0 1 0 0  0  0  0  1        (41)


//<!-- subscript -->
//"Subscript"  ᾳ ᾼ   0 0 0 0 0 0 1 (40)
//"Subscript"  ῃ ῌ   0 0 0 0 0 0 1 (40)
//"Subscript"  ῳ ῼ   0 0 0 0 0 0 1 (40)

//"Initial Rho" ῥ Ῥ  0 0 1 0 0 0 0 (04)

//"Stigma" Ϛ
//"Stigma" ϛ

//<!-- acute -->
//                          1 2 4 8 10 20 40 80 
//                          ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//"Acute (Oxia)" ά          0 1 0  0  0  0  0        (02)
//"Acute (Oxia)" ᾴ          0 1 0  0  0  0  1        (42)
//"Acute (Oxia)" έ          0 1 0  0  0  0  0        (02)
//"Acute (Oxia)" ή          0 1 0  0  0  0  0        (02)
//"Acute (Oxia)" ῄ          0 1 0  0  0  0  0        (42)
//"Acute (Oxia)" ί          0 1 0  0  0  0  0        (02)
//"Acute (Oxia)" ό          0 1 0  0  0  0  0        (02)
//"Acute (Oxia)" ύ          0 1 0  0  0  0  0        (02)
//"Acute (Oxia)" ώ          0 1 0  0  0  0  0        (02)
//"Acute (Oxia)" ῴ          0 1 0  0  0  0  1        (42)


//<!-- circumflex -->
//                        1 2 4  8 10 20 40 80 
//                        ` ´ ‛  ’  ~  ¨   ͅ  ˘
//"Circumflex" "10" ᾶ     0 0 0  0  1  0  0         (10)
//"Circumflex" "50" ᾷ     0 0 0  0  1  0  1         (50)
//"Circumflex" "10" ῆ     0 0 0  0  1  0  0         (10)
//"Circumflex" "50" ῇ     0 0 0  0  1  0  0         (50)
//"Circumflex" "10" ῖ     0 0 0  0  1  0  0         (10)
//"Circumflex" "10" ῦ     0 0 0  0  1  0  0         (10)
//"Circumflex" "10" ῶ     0 0 0  0  1  0  0         (10)
//"Circumflex" "50" ῷ     0 0 0  0  1  0  1         (50)
//                    
//"Digamma" Ϝ         
//"Digamma" ϝ
//
//<!-- smooth -->
//                   1 2 4 8 10 20 40 80 
//                   ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//"Smooth" ἀ  Ἀ      0 0 0 1  0  0  0         (08)
//"Smooth" ᾀ  ᾈ      0 0 0 1  0  0  1         (50)
//"Smooth" ἐ  Ἐ      0 0 0 1  0  0  0         (08)
//"Smooth" ἠ  Ἠ      0 0 0 1  0  0  0         (08)
//"Smooth" ᾐ  ᾘ      0 0 0 1  0  0  1         (50)
//"Smooth" ἰ  Ἰ      0 0 0 1  0  0  0         (08)
//"Smooth" ὀ  Ὀ      0 0 0 1  0  0  0         (08)
//"Smooth" ὐ         0 0 0 1  0  0  0         (08)
//"Smooth" ὠ  Ὠ      0 0 0 1  0  0  0         (08)
//"Smooth" ᾠ  ᾨ      0 0 0 1  0  0  1         (50)
//
//
//<!-- rough -->
//                   1 2 4 8 10 20 40 80 
//                   ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//"Rough" ἁ  Ἁ       0 0 1 0  0  0  0         (04)
//"Rough" ᾁ  ᾉ       0 0 1 0  0  0  1         (44)
//"Rough" ἑ          0 0 1 0  0  0  0         (04)
//"Rough" ἡ  Ἡ       0 0 1 0  0  0  0         (04)
//"Rough" ᾑ  ᾙ       0 0 1 0  0  0  1         (44)
//"Rough" ἱ  Ἱ       0 0 1 0  0  0  0         (04)
//"Rough" ὁ  Ὁ       0 0 1 0  0  0  0         (04)
//"Rough" ὑ  Ὑ       0 0 1 0  0  0  0         (04)
//"Rough" ὡ  Ὡ       0 0 1 0  0  0  0         (04)
//"Rough" ᾡ  ᾩ       0 0 1 0  0  0  1         (44)

//"Koppa" Ϟ
//"Koppa" ϟ
//
//
//<!-- smooth grave -->
//                      1 2 4 8 10 20 40 80 
//                      ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//"Smooth Grave" ἂ  Ἂ   1 0 0 1  0  0  0         (09)
//"Smooth Grave" ᾂ  ᾊ   1 0 0 1  0  0  1         (49)
//"Smooth Grave" ἒ  Ἒ   1 0 0 1  0  0  0         (09)
//"Smooth Grave" ἢ  Ἢ   1 0 0 1  0  0  0         (09)
//"Smooth Grave" ᾒ  ᾚ   1 0 0 1  0  0  1         (49)
//"Smooth Grave" ἲ  Ἲ   1 0 0 1  0  0  0         (09)
//"Smooth Grave" ὂ  Ὂ   1 0 0 1  0  0  0         (09)
//"Smooth Grave" ὒ      1 0 0 1  0  0  0         (09)
//"Smooth Grave" ὢ  Ὢ   1 0 0 1  0  0  0         (09)
//"Smooth Grave" ᾢ  ᾪ   1 0 0 1  0  0  1         (49)
//
//
//<!-- rough grave -->
//                      1 2 4 8 10 20 40 80 
//                      ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//"Rough Grave"  ἃ  Ἃ   1 0 1 0  0  0  0         (05)
//"Rough Grave"  ᾃ  ᾋ   1 0 1 0  0  0  1         (45)
//"Rough Grave"  ἓ  Ἓ   1 0 1 0  0  0  0         (05)
//"Rough Grave"  ἣ  Ἣ   1 0 1 0  0  0  0         (05)
//"Rough Grave"  ᾓ  ᾛ   1 0 1 0  0  0  1         (45)
//"Rough Grave"  ἳ  Ἳ   1 0 1 0  0  0  0         (05)
//"Rough Grave"  ὃ  Ὃ   1 0 1 0  0  0  0         (05)
//"Rough Grave"  ὓ  Ὓ   1 0 1 0  0  0  0         (05)
//"Rough Grave"  ὣ  Ὣ   1 0 1 0  0  0  0         (05)
//"Rough Grave"  ᾣ  ᾫ   1 0 1 0  0  0  1         (45)
//
//"Sampi" Ϡ
//"Sampi" ϡ
//
//
//
// <!-- smooth acute -->
//                      1 2 4 8 10 20 40 80 
//                      ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//"Smooth Acute" ἄ  Ἄ   0 1 0 1  0  0  0         (0a)
//"Smooth Acute" ᾄ  ᾌ   0 1 0 1  0  0  1         (4a)
//"Smooth Acute" ἔ  Ἔ   0 1 0 1  0  0  0         (0a)
//"Smooth Acute" ἤ  Ἤ   0 1 0 1  0  0  0         (0a)
//"Smooth Acute" ᾔ  ᾜ   0 1 0 1  0  0  1         (4a)
//"Smooth Acute" ἴ  Ἴ   0 1 0 1  0  0  0         (0a)
//"Smooth Acute" ὄ  Ὄ   0 1 0 1  0  0  0         (0a)
//"Smooth Acute" ὔ      0 1 0 1  0  0  0         (0a)
//"Smooth Acute" ὤ  Ὤ   0 1 0 1  0  0  0         (0a)
//"Smooth Acute" ᾤ  ᾬ   0 1 0 1  0  0  1         (4a)
                 
                 
                 
// <!-- rough acute -->
//                      1 2 4 8 10 20 40 80 
//                      ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//"Rough Acute"  ἅ  Ἅ   0 1 1 0  0  0            (06)
//"Rough Acute"  ᾅ  ᾍ   0 1 1 0  0  1            (46)
//"Rough Acute"  ἕ  Ἕ   0 1 1 0  0  0            (06)
//"Rough Acute"  ἥ  Ἥ   0 1 1 0  0  0            (06)
//"Rough Acute"  ᾕ  ᾝ   0 1 1 0  0  1            (46)
//"Rough Acute"  ἵ  Ἵ   0 1 1 0  0  0            (06)
//"Rough Acute"  ὅ  Ὅ   0 1 1 0  0  0            (06)
//"Rough Acute"  ὕ  Ὕ   0 1 1 0  0  0            (06)
//"Rough Acute"  ὥ  Ὥ   0 1 1 0  0  0            (06)
//"Rough Acute"  ᾥ  ᾭ   0 1 1 0  0  1            (46)
//
//
// <!-- breve -->
//                      1 2 4 8 10 20 40 80 
//                      ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//"Breve"       ᾰ  Ᾰ    0 0 0 0  0  0  0  1    (80)
//"Breve"       ῐ  Ῐ    0 0 0 0  0  0  0  1    (80)
//"Breve"       ῠ  Ῠ    0 0 0 0  0  0  0  1    (80)
//                                                  
//dialytika and varia
//              ῒ       1 0 0 0  0  1  0         (21)
//              ῢ       1 0 0 0  0  1  0         (21)
//                                                  
//"dialytika"   ϊ  Ϊ    0 0 0 0  0  1  0         (20)
//"dialytika"   ϋ  Ϋ    0 0 0 0  0  1  0         (20)
//                                                  
//dialytika and tonos 
//              ΐ       0 1 0 0  0  1  0         (22)
//              ΰ       0 1 0 0  0  1  0         (22)
//                                                  
//dialytika and perispomeni
//              ῗ       0 0 0 0  1  1  0         (30)
//              ῧ       0 0 0 0  1  1  0         (30)
//                                                  
//rho with psili
//              ῤ       0 0 0 1  0  0  0         (08)
//





//"Macron" ᾱ  Ᾱ   (100)
//"Macron" ῑ  Ῑ   (100)
//"Macron" ῡ  Ῡ   (100)
//          
//          
//                      1 2 4 8 10 20 40 80 
//                      ` ´ ‛ ’  ~  ¨   ͅ  ˘ 
//psili and perispomeni
//                              ἆ  Ἆ   (18)
//                              ἦ  Ἦ   (18)
//                              ἶ  Ἶ   (18)
//                              ὖ      (18)
//                              ὦ  Ὦ   (18)
//
//psili and perispomeni and prosgegrammeni
//                              ᾆ  ᾎ   (58)
//                              ᾖ  ᾞ   (58)
//                              ᾦ  ᾮ   (58)
//                                          
//                                          
//dasia and perispomeni
//                   ἇ   Ἇ  (14)
//                   ἧ   Ἧ  (14)
//                   ἷ   Ἷ  (14)
//                   ὗ   Ὗ  (14)
//                   ὧ   Ὧ  (14)
//
//
//dasia and perispomeni and ypogegrammeni
//                   ᾇ   ᾏ  (54)
//                   ᾗ   ᾟ  (54)
//                   ᾧ   ᾯ  (54)

function eTblClick(e) {
    if(! e) var e = window.event;

    var t = e.target;
    if(t.tagName != 'TD') {
        return;
    }
    switch(t.id) {
        case 'α':
    }
}

function eKey(e) {
    if(! e) var e = window.event;
    var t = e.target;
}

function gchar(c) {
    var char = c;
    function decchar(key) {
        return chars[c] ? chars[c] : 0;
    }
}
